home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / qemm.80c / technote.qip / MSDOS6.TEC < prev    next >
Text File  |  1995-11-04  |  16KB  |  316 lines

  1.                    MS-DOS 6 and Quarterdeck Products
  2.  
  3.  
  4.  Quarterdeck Technical Note #166              Filename: MSDOS6.TEC
  5.  by Bill Burge                              CompuServe: MSDOS6.ZIP
  6.  Last revised:  11/1/93                       Category: SW3
  7.  
  8.  Subject: A discussion of MS-DOS version 6.0 and Quarterdeck products.
  9.  
  10.  Q. Is MS-DOS 6 compatible with QEMM?
  11.  
  12.  A. Absolutely!  The Microsoft DOS 6 README.TXT file states that
  13.     "Quarterdeck's QEMM memory manager is compatible with MS-DOS
  14.     6." In addition, there are no known incompatibilities between
  15.     MS DOS 6.0 and Quarterdeck's DESQview or DESQview/X
  16.     multitaskers.
  17.  
  18.  Q. As a QEMM user, what information do I need to install DOS 6?
  19.  
  20.  A. As a QEMM user, the most important information that you can
  21.     take with you in the installation and configuration of
  22.     Microsoft DOS 6 is the knowledge that you are already running
  23.     the most effective memory management system available for the
  24.     IBM-compatible computer. If you are already using QEMM, follow
  25.     these steps:
  26.  
  27.     1) Run the SETUP program from the DOS 6 installation diskette
  28.        and follow the instructions on the screen.
  29.  
  30.     2) Install any of the new DOS 6 utilities that you desire. DOS
  31.        6 provides you the opportunity to add virus protection and
  32.        other utilities to your system.  Remember: the default
  33.        installation of DOS 6 installs only the MS Windows versions
  34.        of these utilities; you have to tell it to install the DOS
  35.        versions as well.  This is done on the Utilities screen of
  36.        the SETUP process.
  37.  
  38.     3) Run QEMM's OPTIMIZE to load those drivers into Upper Memory.
  39.  
  40.        If you should desire to experiment with Microsoft DOS 6's
  41.        MemMaker (the program that attempts to provide more memory),
  42.        we can recommend a couple of safeguards.  MemMaker will
  43.        remove ALL the QEMM commands from your CONFIG.SYS and
  44.        AUTOEXEC.BAT files (with the exception of DOSDATA.SYS and
  45.        DOS-UP.SYS, which you would have to remove manually).  We
  46.        are confident that you will want to return to Quarterdeck's
  47.        QEMM, so we urge you to save a copy of your CONFIG.SYS and
  48.        AUTOEXEC.BAT files.  Before you begin to experiment, copy
  49.        these files from the root directory to some other directory
  50.        or to a floppy diskette. This will allow you to restore them
  51.        easily.
  52.  
  53.        Our customers have reported problems related to running
  54.        MemMaker on multi-path CONFIG.SYS files.  Unlike QEMM's
  55.        OPTIMIZE and QSETUP programs, MemMaker does not offer a
  56.        multi-CONFIG menu.
  57.  
  58.        Next, be aware that even if you save the configuration
  59.        created by MemMaker, you can usually reverse its changes by
  60.        running MEMMAKER /UNDO. If the final screen of the MemMaker
  61.        process is NOT a numerical breakdown of how MemMaker got you
  62.        more memory (and every test that we have run says it will
  63.        not be), select the default exit by pressing the <ENTER>
  64.        key.  Do NOT press F3 to save the current MemMaker
  65.        configuration.
  66.  
  67.        Note that MemMaker does NOT handle CALLed batch files.  A
  68.        CALLed batch file is executed with the DOS keyword "CALL"
  69.        which tells DOS to execute the commands in the "CALLed"
  70.        batch file and then resume executing the remaining commands
  71.        in the current batch file (the AUTOEXEC.BAT in this case).
  72.        The significance of this is that Quarterdeck's Optimize
  73.        process DOES handle CALLed batch files, loading any TSR's in
  74.        those batch files into Upper Memory instead of just ignoring
  75.        them. This means that when MemMaker deletes the QEMM
  76.        commands from the AUTOEXEC.BAT and CONFIG.SYS, it leaves
  77.        them in the Optimized, CALLed batch files.  These would have
  78.        to be removed by editing the CALLed batch files and deleting
  79.        the LOADHI information.  If NO changes have been made since
  80.        the last time that you Optimized your system, you could also
  81.        run UNOPT.BAT. UNOPT is a batch file, created by Optimize,
  82.        that returns your system to the condition it was in before
  83.        the most recent Optimize.  If you have Optimized more than
  84.        once, use the OPTIMIZE /RESTORE parameter instead; this
  85.        allows you to restore any of your last nine configurations,
  86.        or the pre-QEMM configuration.
  87.  
  88.        With the greater selection of features in QEMM and Optimize,
  89.        MemMaker does not stand a chance of creating more upper
  90.        memory. QEMM's Stealth ROM feature adds 96K of Upper Memory,
  91.        64K more than MemMaker's best attempt to find unused space
  92.        in your System BIOS.  Optimize has the ability, through
  93.        Quarterdeck's Squeeze technology, to shoehorn TSR's and
  94.        device drivers into areas that are large enough for them to
  95.        reside, but too small for them to initialize.  (It is common
  96.        for drivers and resident programs to require larger areas
  97.        during initialization than they need once they have loaded.)
  98.        Optimize has a "What-If" feature that lets you see the
  99.        effect that rearranging the loading order of your programs
  100.        and drivers will have on your memory usage WITHOUT making
  101.        any changes to your configuration.  None of this is possible
  102.        with MemMaker.
  103.  
  104.  Q. Are any of my Quarterdeck products affected by DoubleSpace (or
  105.     DriveSpace)?
  106.  
  107.  A. The most talked-about feature of Microsoft DOS 6 is its disk
  108.     compression -- DriveSpace in DOS 6.22; DoubleSpace in earlier
  109.     releases of DOS 6.  Both DoubleSpace and DriveSpace were
  110.     designed to be compatible with QEMM.  Disk compression
  111.     utilities, including Stacker, XtraDrive, and now DoubleSpace,
  112.     have gone to great lengths to be compatible with Stealth ROM as
  113.     well as Optimize.
  114.  
  115.     (In the following paragraphs, DBLSPACE is used to refer to
  116.     DBLSPACE or DRVSPACE.)  DBLSPACE.BIN is a driver that allows
  117.     your system to recognize your DoubleSpace drive.  It is loaded
  118.     by IO.SYS during boot time, BEFORE DOS has even thought about
  119.     loading QEMM. DBLSPACE.BIN uses about 43K of your memory, and
  120.     when the CONFIG.SYS has completed, the memory used by the
  121.     resident portion of DBLSPACE.BIN appears to be added to the
  122.     memory used by the LAST driver loaded in the CONFIG.SYS.  In
  123.     other words, the last driver loaded appears to be 43K larger
  124.     than it actually is.  When you install DoubleSpace, the
  125.     following line is added to your CONFIG.SYS file:
  126.  
  127.     DEVICE=C:\DOS\DBLSPACE.SYS /MOVE
  128.  
  129.     DBLSPACE.SYS has only one purpose, and that is to make
  130.     DBLSPACE.BIN appear as a "real" driver, separate in memory.
  131.     DoubleSpace REQUIRES that DBLSPACE.SYS be loaded in order for
  132.     any memory manager to load DBLSPACE.BIN into upper memory.
  133.  
  134.     QEMM includes a feature called "Stealth D*Space," which
  135.     moves the DoubleSpace driver out of conventional or upper
  136.     memory and maps it into the expanded memory Page Frame whenever
  137.     it is needed.  By using Stealth DoubleSpace you save
  138.     approximately 41K of memory.  If DoubleSpace is installed on
  139.     your system when you install QEMM, the following line will be
  140.     added to your CONFIG.SYS file:
  141.  
  142.     DEVICE=C:\QEMM\ST-DSPC.SYS
  143.  
  144.     If you install DoubleSpace AFTER installing QEMM, you should
  145.     run QEMM's QSETUP program (by typing QSETUP at the DOS prompt).
  146.     QSETUP will remove the DBLSPACE.SYS line in your CONFIG.SYS and
  147.     replace it with the ST-DSPC.SYS line shown above.
  148.  
  149.     The Stealth D*Space feature, like the Stealth ROM feature,
  150.     requires the presence of an EMS page frame.  If you have used
  151.     QEMM386.SYS's FRAME=NONE; FRAMELENGTH=0, 1, 2 or 3; or EMS:N
  152.     parameter to eliminate the page frame, the ST-DSPC.SYS program
  153.     will act exactly like the DOS 6 driver DBLSPACE.SYS with its
  154.     /MOVE parameter: in other words, it will move DBLSPACE.BIN from
  155.     the top of conventional memory to low conventional memory.  If
  156.     you choose to leave ST-DSPC  .SYS in your CONFIG.SYS file
  157.     without a page frame, you can use O  ptimize to load the
  158.     DoubleSpace driver into High RAM, just as you could with
  159.     DBLSPACE.SYS /MOVE.
  160.  
  161.  Q. How can I restore my QEMM configuration after MemMaker has
  162.     removed QEMM from my CONFIG.SYS and AUTOEXEC.BAT files? REMOVED
  163.     QEMM FROM MY CONFIG.SYS AND AUTOEXEC.BAT FILES?
  164.  
  165.  A. The steps that you must follow in order to return to QEMM after
  166.     running MemMaker depend on whether you have:
  167.  
  168.     1. Not yet completed MemMaker; OR
  169.     2. Have completed MemMaker.
  170.  
  171.     For the Number 1's who have not yet completed MemMaker:
  172.  
  173.     When MemMaker completes and DOES NOT provide a better
  174.     configuration than the one you already had, it will tell you
  175.     "Your computer's memory was optimally configured before you ran
  176.     MemMaker".  At this juncture you can press <ENTER> to restore
  177.     your original configuration or F3 to save the MemMaker
  178.     configuration.  Your choice at this time will be <ENTER>.  Your
  179.     existing QEMM configuration will be restored.
  180.  
  181.     For the Number 2's who have completed MemMaker:
  182.  
  183.     Since you have completed the MemMaker process, it has probably
  184.     become evident to you that nothing provides more upper memory
  185.     for loading your TSR's and device drivers than QEMM.  Just type
  186.     QSETUP from the DOS prompt.  QEMM's QSETUP program will remove
  187.     HIMEM.SYS and EMM386.EXE from your CONFIG.SYS file and replace
  188.     them with a QEMM386.SYS device line. From the QSETUP menu you
  189.     can also enable other options (such as QDPMI and DOS-UP.)  Once
  190.     QSETUP has enabled the options you choose, run QEMM's Optimize
  191.     program to load your device drivers and TSR's into upper
  192.     memory. That is all there is to it.
  193.  
  194.  Q. MemMaker does not support multi-path CONFIG.SYS files.  Does
  195.     QEMM support this DOS 6 feature?
  196.  
  197.  A. Yes -- much better than DOS 6's memory management programs.
  198.  
  199.     DOS 6 provides the ability to build menus of configurations in
  200.     the CONFIG.SYS and AUTOEXEC.BAT. This is accomplished by
  201.     building "blocks" in the CONFIG.SYS, and having the name of the
  202.     block selection that you make on boot passed to the
  203.     AUTOEXEC.BAT as an environment variable -%config%. The use of
  204.     the environment variable, for IF's and GOTO's, will then
  205.     process a particular portion of the AUTOEXEC.BAT file that is
  206.     appropriate to that portion of the CONFIG.SYS.
  207.  
  208.     Multiple configurations (as implemented via the CONFIG.SYS
  209.     blocks) have to be MemMakered one configuration at a time.  The
  210.     DOS 6 documentation discusses the process of converting your
  211.     CONFIG.SYS and AUTOEXEC.BAT into multiple copies and then
  212.     MemMakering them one at a time.  Microsoft warns users to avoid
  213.     [common] blocks and "first entries" in the AUTOEXEC.BAT.
  214.  
  215.     If you are using QEMM however, you will find the process of
  216.     Optimizing a multi-config system much easier than with
  217.     MemMaker.  QEMM's Optimize program handles multiple
  218.     configurations with ease.  When you run Optimize, it will
  219.     detect any multiple configurations you have set up and will
  220.     post a message prompting you to choose the CONFIG.SYS
  221.     configuration you want to Optimize.  (If Optimize is launched
  222.     automatically by the Install program or by QEMM Setup, these
  223.     programs will also detect multiple configurations and pass the
  224.     information along to the Optimize program.)  Optimize will then
  225.     execute normally, booting the system with the configuration
  226.     that you have chosen.
  227.  
  228.     When you are not using multiple configurations, Optimize places
  229.     the /R:n (REGION:n) parameter on lines that load TSRs and
  230.     device drivers to specify which High RAM region the driver or
  231.     TSR will load into.  When you are using multiple
  232.     configurations, instead of placing /R:n parameters on the
  233.     QEMM386.SYS and LOADHI lines, Optimize will place /RF
  234.     (/RESPONSEFILE) parameters.  The /R:n parameters would not work
  235.     in a multiple configuration situation, because a program might
  236.     be part of two or more CONFIG.SYS configurations, each
  237.     requiring a different region number.
  238.  
  239.     The /RF parameter gets around this problem by directing
  240.     QEMM386.SYS and the LOADHI programs to look in a resource file
  241.     called LOADHI.RF that Optimize has created in the \QEMM
  242.     directory. (Optimize places a LOADHIDATA environment variable
  243.     in the CONFIG.SYS file that tells QEMM386.SYS and the LOADHI
  244.     programs the name and location of this resource file.)
  245.     LOADHI.RF will contain several "config blocks," each
  246.     corresponding to a CONFIG.SYS configuration and containing the
  247.     appropriate /R:n statements for that configuration. QEMM386.SYS
  248.     and the LOADHI programs check the current CONFIG environment
  249.     variable (created at boot time by DOS 6 to indicate which
  250.     CONFIG.SYS configuration is being used), and then choose the
  251.     appropriate config block to get information about what High RAM
  252.     region they should use to load high.
  253.  
  254.     Here is an example of a resource file:
  255.  
  256.     [Vanilla]
  257.     QEMM386.SYS /R:1
  258.     C:\DOS\SETVER.EXE /R:1
  259.     C:\DOS\COMMAND.COM /R:1
  260.  
  261.     [Development]
  262.     QEMM386.SYS /R:1
  263.     C:\DOS\SETVER.EXE /R:1
  264.     C:\QEMM\QDPMI.SYS /R:1
  265.     C:\DOS\COMMAND.COM /R:1
  266.  
  267.     [Full]
  268.     QEMM386.SYS /R:2
  269.     C:\DOS\SETVER.EXE /R:3
  270.     C:\QEMM\QDPMI.SYS /R:3
  271.     C:\DOS\COMMAND.COM /R:2
  272.     C:\PCKWIK\SUPERPCK.EXE /R:2
  273.     C:\NET\IPX.COM /R:1
  274.     C:\NET\EMSNETX.COM /R:2
  275.  
  276.     [All Others]
  277.     QEMM386.SYS /R:1
  278.     C:\DOS\SETVER.EXE /R:1
  279.     C:\QEMM\QDPMI.SYS /R:1
  280.     C:\DOS\COMMAND.COM /R:1
  281.     C:\PCKWIK\SUPERPCK.EXE /R:2
  282.  
  283.     In this example, the blocks named Vanilla, Development, and
  284.     Full will be used only when you choose their names off the menu
  285.     that DOS 6 offers when you boot with multiple configurations.
  286.     The All Others section will be used only if none of the blocks
  287.     before it were chosen.  If you place a line before the first
  288.     block, it will be used no matter what configuration name you
  289.     choose.
  290.  
  291.     This file format is also supported by QEMM's parameter files
  292.     (see Chapter 7 of the QEMM manual for information) and by the
  293.     DOS-Up resource file DOS-UP.DAT, which the driver DOS-UP.SYS
  294.     uses to determine where different parts of DOS go in High RAM.
  295.     Normally, you do not need to edit these files yourself.
  296.     Optimize creates and maintain the files.
  297.  
  298.  
  299.  Q. What else is Quarterdeck doing for DOS?
  300.  
  301.  A. Quarterdeck's commitment to adding functionality to DOS and
  302.     DOS-based programs has kept our products at the forefront of
  303.     memory management and multitasking technology.  With each new
  304.     version of DOS comes an opportunity for Quarterdeck to design
  305.     new features and offer the DOS user an even greater
  306.     implementation of the world's most widely used operating
  307.     system. Quarterdeck intends to continue this pattern.
  308.  
  309.  ******************************************************************
  310.  *      Trademarks are property of their respective owners.       *
  311.  *   This and other technical notes may be available in updated   *
  312.  *     forms through Quarterdeck's standard support channels.     *
  313.  *          Copyright (C) 1995 Quarterdeck Corporation            *
  314.  ******************** E N D   O F   F I L E ***********************
  315.  
  316.